/**
 * @file NodeVarForVector.h
 * @author 世慷 (shikang999@126.com)
 * @brief 主要用于向量存储
 * @version 0.1
 * @date 2025-10-01
 * 
 * @copyright Copyright (c) 2025
 * 
 */

#pragma once
#include "BaseNodeVar.h"

namespace Net
{

class NodeVarForVector : public BaseNodeVar
{
public:
    EIGEN_MAKE_ALIGNED_OPERATOR_NEW;

    NodeVarForVector(std::size_t dim);
    ~NodeVarForVector();

    uint32_t getVarSize() const final;
    std::vector<std::size_t> getDim() const final;
    
public:
    Vector_t value;    //数值
    Vector_t diffValue;//导数值
};

}
